package com.edisoncgh.hw06;

import static org.junit.Assert.assertEquals;
import com.edisoncgh.hw06.judgement;
import org.junit.Test;

public class testJudgement {
    judgement mJudgement;

    @Test
    public void testJudgementResult() {
        mJudgement = new judgement();
        String realResult = (
                "青海是7级地区\n" +
                        "澳门是6级地区\n" +
                        "甘肃是5级地区\n" +
                        "天津是4级地区\n" +
                        "江西是3级地区\n" +
                        "福建是2级地区\n" +
                        "黑龙江是1级地区\n"
        );
        assertEquals(realResult, mJudgement.doJudgement());
    }
}
